package com.atguigu.eduservice.client;

import com.atguigu.commonutils.R;
import com.atguigu.eduservice.entity.frontvo.UcenterMemberInfo;
import com.atguigu.servicebase.exceptionHandler.GuliException;
import org.springframework.stereotype.Component;

@Component
public class UcenterDegradeClient implements UcenterClient{
    @Override
    public UcenterMemberInfo getInfo(String id) {
        throw new GuliException(20001,"uncenter服务没有开放");
    }
}
